import Link from 'next/link'

export default function DashboardLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return <>
    <div className='flex flex-1'>
      <nav className="flex flex-col items-center p-4 bg-gray-800 text-white">
        <Link href="/dashboard/settings">Settings</Link>
        <Link href="/dashboard/analytics">Analytics</Link>
      </nav>
      <section className='flex-1'>{children}</section>
    </div>
  </>
}